<template>
	<view class="my_content">
		<my-login v-if="token == ''"></my-login>
		<my-userinfo v-else></my-userinfo>
	</view>
</template>

<script>
	import setBrage from "@/mixins/tabbar_badge.js"
	import {mapState} from "vuex"
	export default {
		data() {
			return {
				
			};
		},
		mixins:[setBrage],
		computed:{
			...mapState("m_user",["token"])
		}
	}
</script>

<style lang="scss">
	.my_content{
		
	}
</style>
